package com.minibobbo.utilities.spe.physicsmodules;

import com.minibobbo.utilities.spe.SimplePlatformEngine;
import com.minibobbo.utilities.spe.SpeDynamicObject;

public abstract class SpePhysicsModule {
	SimplePlatformEngine e;
	SpeDynamicObject parent;

	public void init(SimplePlatformEngine engine, SpeDynamicObject parent) {
		e = engine;
		this.parent = parent;

	}

	/**
	 * Updates the physics on this object. THIS METHOD WILL CONTAIN THE LOGIC TO
	 * ACTAULLY MOVE THE OBJECT AND DETECT COLLISIONS. IT SHOULD BE CALLED AFTER
	 * THE MOVE MODULE.
	 * 
	 * @param delta The amount of time since the last update.
	 */
	public abstract void updatePhysics(float delta);


}
